#ifndef _GM_SC_APP_MGR_H_
#define _GM_SC_APP_MGR_H_

#include "gm_sc_app.h"
#include <middleware/gm_api/skfapi.h>


 
class gm_sc_app_mgr
{
public:

	gm_sc_app_mgr();
	~gm_sc_app_mgr();


public:

	gm_sc_app* get_app_by_name(char *pName);

	ULONG add_app(gm_sc_app* sc_app);

	ULONG remove_app(void* sc_app);

	ULONG remove_app_by_name(char *pName);

	gm_sc_app* get_first_app();

	gm_sc_app* get_next_app();

	ULONG clear();

private:
	mk_node_list _sc_app_list;
	mk_node *_curr_pos;
};

#endif